package com.fuhao.pay.constant;

/**
 * 支付相关常量
 */
public interface PayConstant {

	String RESULT_NAME = "result";
	String RESULT_PAYCODE_201 = "201";
	String RESULT_PAYCODE_200 = "200";
	/**
	 * 已经支付成功状态
	 */
	Integer PAY_STATUS_SUCCESS = 1;
	/**
	 * 返回银联通知成功
	 */
	String YINLIAN_RESULT_SUCCESS = "200";
	/**
	 * 返回银联失败通知
	 */
	String YINLIAN_RESULT_FAIL = "fail";

	/**
	 * 返回支付宝通知成功
	 */
	String ALI_RESULT_SUCCESS = "success";

	/**
	 * 返回支付宝失败通知
	 */
	String ALI_RESULT_FAIL = "failed";

	/**
	 * 微信成功回调通知:WX_RESULT_CODE
	 */
	String WX_RETURN_CODE = "SUCCESS";

	/**
	 * 微信成功回调通知:result_code
	 */
	String WX_RESULT_CODE = "SUCCESS";

	/**
	 * 微信渠道
	 */
	String WX_CHANNEL = "wx_pay";

	/**
	 * 支付宝渠道
	 */
	String ALI_CHANNEL = "ali_pay";

	/**
	 * 银联渠道
	 */
	String UNION_CHANNEL = "yinlian_pay";
}
